package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 直播间信息对象 livebroadcastingroom
 * 
 * @author kinglu
 * @date 2021-11-30
 */
public class Livebroadcastingroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间号 */
    private Long roomId;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 授权码 */
    @Excel(name = "授权码")
    private String appid;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 直播封面图片 */
    @Excel(name = "直播封面图片")
    private String coverPhoto;

    /** 直播类别 */
    @Excel(name = "直播类别")
    private String category;

    /** 直播间简介 */
    @Excel(name = "直播间简介")
    private String roomSum;

    /** 开播状态 */
    @Excel(name = "开播状态")
    private String liveType;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 用户信息 */
    private UserInfo user;

    public UserInfo getUser() {
        return user;
    }

    public void setUser(UserInfo user) {
        this.user = user;
    }

    public void setRoomId(Long roomId)
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCoverPhoto(String coverPhoto) 
    {
        this.coverPhoto = coverPhoto;
    }

    public String getCoverPhoto() 
    {
        return coverPhoto;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setRoomSum(String roomSum) 
    {
        this.roomSum = roomSum;
    }

    public String getRoomSum() 
    {
        return roomSum;
    }
    public void setLiveType(String liveType) 
    {
        this.liveType = liveType;
    }

    public String getLiveType() 
    {
        return liveType;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomId", getRoomId())
            .append("userId", getUserId())
            .append("appid", getAppid())
            .append("title", getTitle())
            .append("coverPhoto", getCoverPhoto())
            .append("category", getCategory())
            .append("roomSum", getRoomSum())
            .append("liveType", getLiveType())
            .append("memo", getMemo())
            .toString();
    }
}
